<ion-item-divider text-wrap *ngIf="title">
    <h2><core-format-text [text]="title | translate" contextLevel="block" [contextInstanceId]="block.instanceid" [courseId]="courseId"></core-format-text></h2>
</ion-item-divider>
<core-loading [hideUntil]="loaded" class="core-loading-center">
    <ion-item *ngIf="block.contents.content" text-wrap class="core-block-content">
        <core-format-text [text]="block.contents.content" contextLevel="block" [contextInstanceId]="block.instanceid" [courseId]="courseId"></core-format-text>
    </ion-item>
    <ion-item *ngIf="block.contents.footer" text-wrap class="core-block-footer">
        <core-format-text [text]="block.contents.footer" contextLevel="block" [contextInstanceId]="block.instanceid" [courseId]="courseId"></core-format-text>
    </ion-item>
</core-loading>
